package com.lyc.service;

import com.github.pagehelper.PageInfo;
import com.lyc.pojo.Users;

import java.util.List;

public interface UserService {
    //用户登录
    public Users login(String utel,String upass);
    //用户注册
    public int regist(Users user);

    //用户密码修改
    public int update(Integer uid,String upass);
    public Users selectTel(String utel);


    /*后台登录*/
    public Users houtailogin(String name);

    public List<Users> selectAll();

    public PageInfo<Users> getUsersByPage(Integer page, Integer limit);

    public int delete(int id);

    public int  insert(Users users);

    public int update(Users users);

    public int deleteSelect(List<String> list);
}
